﻿<!DOCTYPE html>
<html>
<head>
<title>转房</title>
<meta charset="utf-8">
<meta name="keywords" content="短照中心-湘潭市康复养老中心;">
<meta name="description" content="短照中心-湘潭市康复养老中心;">
<link rel="stylesheet" rev="stylesheet" href="css/framepage.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="js/waitBox/wait.css">
<script src="js/vue.js"></script>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/jquery.cookie.js"></script>
<script src="js/JSON-js-master/json2.js"></script>
<script src="js/waitBox/wait.js"></script>
</head>

<body style="background:rbg(216,216,216);">
<div class="form_div">
  <h3>转房 科室：<span id="subjectRoomName_title"></span></h3>
  <ul>
    <li style="width:100%"> <span class="tit" style="width:70px;">选择长者：</span>
      <select id="elderFloor_select" style="position:absolute;left:90px;top:0;width:197px;">
        <option value="">12楼</option>
        <option value="">13楼</option>
        <option value="">14楼</option>
      </select>
      <select id="elderBeHospital_select" style="position:absolute;left:290px;top:0;width:227px;">
        <option value="">周天虎 1301 A床</option>
        <option value="">周天虎 1301 A床</option>
        <option value="">周天虎 1301 A床</option>
      </select>
      <span style="position:absolute;left:520px;top:0;">
      <input type="button" value="确定" class="button_s button1" onclick="findElderByBedId();" style="height:36px;" />
      </span> </li>
  </ul>
  <div style="clear:both;"></div>
  <h3>长者：</h3>
  <div style="margin:0;padding:0;" id="vue_vm_list">
    <div style="margin:0;padding:0;" v-for="todo in todos">
      <ul>
        <li style="width:70px;"><span>{{todo.elderForm.name}}</span></li>
        <li><span>{{todo.buildingName}} {{todo.floorName}} {{todo.roomType}} {{todo.roomNumber}}房 {{todo.bedNumber}}床</span></li>
      </ul>
      <ul>
        <li style="width:70px;"><span>入住户型</span></li>
      </ul>
      <ul v-if="todo.houseTypeType==1">
        <li style="width:70px;"><span></span></li>
        <li><span>VIP卡</span></li>
        <li><span>{{todo.buildingName}} {{todo.floorName}} {{todo.roomType}} {{todo.roomNumber}}房 {{todo.bedNumber}}床</span></li>
        <li><span>{{todo.houseTypeName}}</span></li>
        <li><span>剩余可扣：{{getRemainNumber(todo.userVipCardForm)}}天</span></li>
      </ul>
      <ul v-if="todo.houseTypeType==2">
        <li style="width:70px;"><span></span></li>
        <li><span>普通</span></li>
        <li><span>{{todo.buildingName}} {{todo.floorName}} {{todo.roomType}} {{todo.roomNumber}}房 {{todo.bedNumber}}床</span></li>
        <li><span>{{todo.houseTypeName}}</span></li>
        <li><span>钱包余额：{{todo.elderWalletForm.walletBalance}}元</span></li>
      </ul>
    </div>
  </div>
  <div style="clear:both;"></div>
  <h3>选择床位</h3>
  <ul>
    <li><span class="tit" style="width:70px;">科室选择：</span></li>
    <li>
      <select id="subjectRoom_select" style="width:312px;">
        <option value="短照中心">短照中心</option>
        <option value="长照中心">长照中心</option>
        <option value="日照中心">日照中心</option>
      </select>
    </li>
  </ul>
  <!--
  <ul>
    <li><span class="tit" style="width:70px;">户型选择：</span></li>
    <li>
      <select id="houseType_select" style="width:312px;">
        <option value="二室一厅A户型B床位单床">二室一厅A户型B床位单床</option>
        <option value="二室一厅A户型B床位单床">二室一厅A户型B床位单床</option>
        <option value="二室一厅A户型B床位单床">二室一厅A户型B床位单床</option>
      </select>
    </li>
  </ul>
  -->
  <ul>
    <li><span class="tit" style="width:70px;">选择楼房：</span></li>
    <li>
      <select id="building_select" style="width:312px;">
        <option value="二室一厅A户型A床位包间">国际老人活动大楼短照中心</option>
        <option value="二室一厅A户型A床位包间">国际老人活动大楼短照中心</option>
        <option value="二室一厅A户型A床位包间">国际老人活动大楼短照中心</option>
        <option value="二室一厅A户型A床位包间">国际老人活动大楼短照中心</option>
        <option value="二室一厅A户型A床位包间">国际老人活动大楼短照中心</option>
        <option value="二室一厅A户型A床位包间">国际老人活动大楼短照中心</option>
        <option value="二室一厅A户型A床位包间">国际老人活动大楼短照中心</option>
        <option value="二室一厅A户型A床位包间">国际老人活动大楼短照中心</option>
      </select>
    </li>
  </ul>
  <ul>
    <li><span class="tit" style="width:70px;">选择楼层：</span></li>
    <li>
      <select id="floor_select" style="width:312px;">
        <option value="二室一厅A户型A床位包间">1楼</option>
        <option value="二室一厅A户型A床位包间">2楼</option>
        <option value="二室一厅A户型A床位包间">3楼</option>
        <option value="二室一厅A户型A床位包间">4楼</option>
        <option value="二室一厅A户型A床位包间">5楼</option>
        <option value="二室一厅A户型A床位包间">6楼</option>
        <option value="二室一厅A户型A床位包间">7楼</option>
        <option value="二室一厅A户型A床位包间">8楼</option>
      </select>
    </li>
  </ul>
  <div style="clear:both;"></div>
  <div style="margin:0;padding:0;" id="bed_vue_vm_list">
    <div style="margin:0;padding:0;" v-for="todo in todos">
      <ul>
        <li style="width:100%;display:inine;position:relative;"> <span style="display:inline;float:left;width:150px;height:28px;line-height:28px;">{{todo.roomNumber + ' ' + todo.roomType}}：</span>
          <div style="margin:0;padding:0;" v-for="bed in todo.bedList"> <span style="display:inline;float:left;">
            <input class="magic-radio" type="radio" name="bedId" v-bind:id="bed.bedId" v-bind:value="bed.bedId"
            v-bind:buildingId="bed.buildingId" v-bind:buildingName="bed.buildingName"
            v-bind:floorId="bed.floorId" v-bind:floorName="bed.floorName"
            v-bind:roomId="bed.roomId" v-bind:roomNumber="todo.roomNumber" v-bind:roomType="todo.roomType"
            v-bind:bedId="bed.bedId" v-bind:bedNumber="bed.bedNumber"
            v-bind:disabled="bed.useStatus==1"
            onClick="onClickBedRadiobox(this);"/>
            <label v-bind:for="bed.bedId" class="label_txt" style="width:100px;">{{bed.bedNumber}}床 <span v-bind:style="bed.useStatus==0?'color:#0000ff':'color:#ff0000'">({{bed.useStatus==0?'空':'满'}})</span> </label>
            </span> </div>
        </li>
      </ul>
    </div>
  </div>
  <div class="for_ie_div"><!--为兼容IE-->
    <ul>
      <li>
        <input type="button" value="确认提交" class="button button1" onclick="turnRoom();" style="height:38px;"/>
      </li>
    </ul>
  </div>
</div>
<div style="clear:both;"></div>
<script src="js/common.js"></script> 
<script src="js/common_function.js"></script> 
<script src="js/busi/initSubjectRoomInfo.js"></script> 
<script src="js/busi/elder_find_by_bed.js"></script> 
<script src="js/busi/elder_find_by_bed_cond.js"></script> 

<!--
<script src="js/busi/subject_room_select.js"></script> 
<script src="js/busi/house_type_select.js"></script>  
<script src="js/busi/building_select.js"></script> 
<script src="js/busi/floor_select.js"></script> 
--> 
<script src="js/busi/bed_select.js"></script> 
<script src="js/busi/turn_room.js"></script>
</body>
</html>